package com.qys.livesMall.anchor.model.dto.lives.sys;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;

@Data
public class LivesGiftSaveDTO {

    @Schema(description = "直播礼物编号")
    private Long id;

    @Schema(description = "礼物名（不超过36字符）")
    @NotBlank(message = "{请输入礼物名}")
    @Length(max = 36,message = "{礼物名不超过36字符}")
    private String giftName;

    @Schema(description = "礼物图标")
    @NotBlank(message = "{请上传礼物图标}")
    private String giftIcon;

    @Schema(description = "礼物特效")
    @NotBlank
    private String giftStyle;

    @Schema(description = "金币单价")
    private BigDecimal giftGold;

}
